from rest_framework import serializers
from . import models

class StoreListModelSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Store
        fields = ('id', 'name', 'addr', 'phone', 'open')